package com.hhkj.admin.conf.model.res;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hhkj.admin.conf.model.extend.CommissionRate;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommissionRateRes extends CommissionRate {

    /** 正在生效的 */
    private CommissionRate effective;

    /** 待生效的 */
    private CommissionRate waiting;

    @Override
    @JsonIgnore
    public BigDecimal getThisLevelRate() {
        return super.getThisLevelRate();
    }

    @Override
    @JsonIgnore
    public BigDecimal getUpOneLevelRate() {
        return super.getUpOneLevelRate();
    }

    @Override
    @JsonIgnore
    public Date getEffectiveTime() {
        return super.getEffectiveTime();
    }
}
